﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Execise
{
    class Car
    {
        public string Name { get; set; }
        public int Whool_number { get; set; }
        public string Color { get; set; }

        public void RunFast(int Whool_number)
        {
            if (Whool_number == 4)
            {
                Console.WriteLine( "我的车子跑得快");
            }
            else
            {
                Console.WriteLine("需要送到修理厂维修。");

            }
        }

    }
}
